package org.mark.sell.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_delivery_process")
public class DeliveryProcess {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer deliveryId;
    private Integer freshFoodId;
    private String freshFoodName;
    private Double price;
    private String isPromotion;  // 0非促销 1促销
    private Integer number;

    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}